// @Date         2021-11-08
// @Author       Aaron Zhang
// @Description
// @FileName      frame_context.go

package gin

// context 实现container的几个封装

// Make 实现make的封装
func (c *Context) Make(key string) (interface{}, error) {
	return c.container.Make(key)
}

// MustMake 实现mustMake的封装
func (c *Context) MustMake(key string) interface{} {
	return c.container.MustMake(key)
}

// MakeNew 实现makeNew的封装
func (c *Context) MakeNew(key string, params map[string]interface{}) (interface{}, error) {
	return c.container.MakeNew(key, params)
}
